package utils;


import java.util.concurrent.TimeUnit;

public class Sleeper {

    /**
     * 睡眠
     * @throws InterruptedException
     */
    public static void sleep(int value){
        try{
            TimeUnit.SECONDS.sleep(value);
        }catch (InterruptedException e){
            e.printStackTrace();
        }

    }



}
